var express = require("express");
var router = express.Router();
var user = require("../../controllers/admin/userController");

router.post("/users/sendCode", user.sendCode);
router.post("/users/codePhoneLogin", user.codePhoneLogin);
router.post("/users/login", user.login);
router.get("/users/getUserInfo", user.getUserInfo);
router.post("/users/update/user", user.updateUserInfo);
router.get("/users/list", user.getList);
module.exports = router;
